package com.nlgc365.designpattern.Chapter02_Principle.P01_SRP.CounterExample1;

/**
 * 使用了Shape类的计算功能
 */
public class ComputationalGeometryApplication {
    public static void main(String[] args) {
        Shape square = new Shape(4.0, 4.0);
        System.out.println("Area of square: " + square.getArea());
    }
}